<?php

namespace app\admin\model\school;

use think\Model;

class Classs extends Model
{
    // 表名
    protected $name = 'Classs';
    
    public function shool()
    {
        return $this->belongsTo(\app\admin\model\AuthGroup::class, 'school', 'id', [], 'LEFT')->setEagerlyType(0);
    }

    public function getStatusList()
    {
        return [ 'normal' => __('Status normal'),'hidden' => __('Status hidden'),];
    }
}
